package com.valdemar.android.givemeanswers.server;

import com.google.web.bindery.requestfactory.shared.ServiceLocator;


public class GiveMeAnswersServiceLocator implements ServiceLocator
{

	@Override
	public Object getInstance(Class<?> clazz)
	{
		try
		{
			return clazz.newInstance();
		}
		catch (InstantiationException e)
		{
			throw new RuntimeException(e);
		}
		catch (IllegalAccessException e)
		{
			throw new RuntimeException(e);
		}
	}

}
